package com.summer.ioc.container;

import com.summer.ioc.bean.definition.BeanDefinition;

/**
 * IoC容器接口
 * @author xiaoye
 * @create 2021-04-29 14:18
 */
public interface IocContainer {

    Object getBean(String name);

    <T> T getBean(String name, Class<T> beanClass);

    <T> T getBean(Class<T> beanClass);

    void registryBean(BeanDefinition beanDefinition);
}
